package com.fwj.authorization.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fwj.authorization.staff.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

/**
 * SysMenuMapper
 *
 * @author 樊温军
 * @date 2025/3/22 下午4:35
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 菜单—分页
     *
     * @param page    分页对象
     * @param sysMenu 查询条件
     * @return IPage<SysMenu>
     */
    IPage<SysMenu> getPage(Page<SysMenu> page, @Param("map") SysMenu sysMenu);
}
